package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@TableName(value = "users_user")
public class User {

	@TableId(value = "user_id",type = IdType.NONE)
	private Long id;
	@TableField(value = "person_id")
	private Long personId;
	@TableField(value = "office_id")
	private Long officeId;
	@TableField(value = "username")
	private String username;
	@TableField(value = "nickname")
	private String nickname;
	@TableField(value = "password")
	private String password;
	@TableField(value = "avatar")
	private String avatar;
	@TableField(value = "intro")
	private String intro;

}
